1 // PUT = Put the URL
2 // WAIT = Sleep the chute for X milliseconds
3
4 import java.util.*;
5
6 public class Request extends Object {
7
8 public static final int reqNULL = 0;
9 public static final int reqPUT = 1;
10 public static final int reqWAIT = 2;
11
12 public int type;
13 public int intParam;
14 public String text;
15
16 public Request() {
17
18 }
19
20 public void set(int typeP, int intP, String textP) {
21
22 type = type;
23 intParam = intP;
24 text = textP;
25 }
26
27 public int getType() {
28 return type;
29 }
30
31 }
32
|